// @ts-ignore
/* eslint-disable */
import { request } from 'umi';

/** 菜单权限列表 POST /api/portal/sysMenu/pageList */
export async function getMenuListUsingPOST(
  body: API.SysMenuRequestDto,
  options?: { [key: string]: any },
) {
  return request<API.SysMenuPageListResponseDto>('/api/portal/sysMenu/list', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}


/** 菜单权限列表 POST /api/portal/sysMenu/pageList */
export async function getMenuPageListUsingPOST(
  body: API.SysMenuRequestDto,
  options?: { [key: string]: any },
) {
  return request<API.SysMenuPageListResponseDto>('/api/portal/sysMenu/pageList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
